/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pagoda.engine;

import java.io.File;
import java.rmi.Remote;
import java.util.Map;
import org.w3c.dom.Node;

/**
 *
 * @author kevin
 */
public interface TestEngine extends Remote {

    public TestAction load(String xml);
    public TestAction load(File file);
    public TestAction load(Node node);

    public TestEngine setGlobals(Map<String, Object> globals);

    public TestActionStatus execute(String xml);
    public TestActionStatus execute(File file);
    public TestActionStatus execute(Node node);

    public void echo(String msg);
    public void echo(String tmp, Object... args);

    void processResult(TestActionResult result);

}
